package com.xlh.dto.user;

import com.xlh.dto.system.ValueDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 前端本地缓存
 * <p>
 * Created by lx on 2019/2/21.
 */
@Data
public class LocalStorageDTO {

    @ApiModelProperty(value = "配置信息")
    private Map<String, List<ValueDTO>> config;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "学号")
    private String userNumber;

    @ApiModelProperty(value = "角色英文标识")
    private String roleCode;

    @ApiModelProperty(value = "头像")
    private String icon;

    @ApiModelProperty(value = "是否是教师")
    private Boolean isTeacher;

    @ApiModelProperty(value = "是否是学生")
    private Boolean isStudent;

    @ApiModelProperty(value = "是否是管理员")
    private Boolean isAdmin;

    @ApiModelProperty(value = "后端请求地址")
    private String requestUrl;

}
